package com.wuxiaofan.client;

import com.alibaba.fastjson.JSONObject;
import com.wuxiaofan.vo.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wuxiaofan
 * @date 2021/7/14 9:10 上午
 */
@FeignClient("shangyitong-user")
public interface UserClient {

    @RequestMapping("/user/userInfo/update")
    ReturnResult update(@RequestBody JSONObject jsonObject);
}
